package com.qf.search.vo;

import lombok.*;

import java.util.List;

/**
 * <p>title: com.qf.vo</p>
 * <p>Company: wendao</p>
 * author zhuximing
 * date 2021/9/11
 * description: 分页结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class PageResult<T> {

    @NonNull
    private boolean success;

    @NonNull
    private String msg;


    private List<T> data; //当前页数据

    private  long total; // 总记录数


    private List<String> brandNameList; //聚合的品牌列表


    private List<String> cat3NameList; //聚合的三级分类列表



}